package com.wang.springbootinit.service;

import com.wang.springbootinit.common.BaseResponse;
import com.wang.springbootinit.common.BaseResponsePage;
import com.wang.springbootinit.model.entity.SourceFile;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.springbootinit.model.param.SourceFileOperateParam;
import com.wang.springbootinit.model.param.SourceFileQueryParam;
import com.wang.springbootinit.model.vo.SourceFileVO;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
* @author wang3
* @description 针对表【source_file】的数据库操作Service
* @createDate 2024-03-11 15:57:41
*/

@Service
public interface SourceFileService extends IService<SourceFile> {

    BaseResponsePage<List<SourceFileVO>> listPage(SourceFileQueryParam param,HttpServletRequest request);


    Boolean deleteById(SourceFileOperateParam param, HttpServletRequest request);

    Boolean download(SourceFileOperateParam param, HttpServletRequest request, HttpServletResponse response);
}
